#ifndef LAYER_H
#define LAYER_H

#include "cubaturs.h"
#include "gsl/gsl_sf_gamma.h"
#include <QTextBrowser>
#include <QFile>
#include <QTextIStream>

class Layer : public Cubaturs
{
public:
    Layer();
    Layer(Integrals *);
    int Num;
    double length,kk[17],k1x,k2x,u[10],v[10],d;
    double Tm[17],Her[17];

    void roots();
    void coeffs();
    gsl_complex pole(double,double);

//private:
    double disper(double);
    __complex__ double compSqrt(__complex__ double);

    //void getHermitOdd(double);
    void getHermitEven(double);

    void diff_check(QTextBrowser *);

};

#endif // LAYER_H
